﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TimScripts.BF4Rcon.Frostbite.Resources;

namespace TimScripts.BF4Rcon.Frostbite
{
    public class StreamNotSetException : Exception
    {
        public StreamNotSetException()
            : base(PortableErrorStrings.StreamNotSet_Default)
        {

        }

        public StreamNotSetException(string message)
            : base(message)
        {
            // Add any type-specific logic.
        }
        public StreamNotSetException(string message, Exception innerException) :
            base(message, innerException)
        {
            if (message == null && innerException != null)
                message = PortableErrorStrings.Disconnection_Error;
        }
    }
}
